package com.example.zxmzy;

import android.app.Application;

import com.example.zxmzy.entity.Sp;
import com.example.zxmzy.sqlite.DBSp;
import com.example.zxmzy.utils.AppUtils;

public class MyApplication extends Application {
//修改文字
    @Override
    public void onCreate() {
        super.onCreate();
        if (AppUtils.isFirstTimeLaunch()) {
            Sp BDD = new Sp("便当袋", "ins风保温饭盒袋高颜值防水便当袋手提收纳袋","收纳","13");
            DBSp.add(BDD);

            Sp KTSB = new Sp("卡通水杯", "可爱超萌女生高颜值吸管双饮水杯小巧便携不锈钢卡通水杯", "收纳", "26");
            DBSp.add(KTSB);

            Sp HZJ = new Sp("化妆镜", "可爱饼干折叠小镜子带梳子迷你随身携带ins女学生手持双面化妆镜", "实用", "14");
            DBSp.add(HZJ);

            Sp HDFS = new Sp("花朵风扇", "可爱花朵手持USB小风扇可充电迷你夏日小花无叶电风扇", "实用", "22");
            DBSp.add(HDFS);

            Sp CYYS = new Sp("丑鱼钥匙扣", "日系卡通丑鱼汉顿挂件公仔汉堡冰淇淋包包挂饰钥匙扣", "可爱", "20");
            DBSp.add(CYYS);

            Sp DDXPJ = new Sp("洞洞鞋配件", "diy黄油熊鞋扣可爱卡通创意新款可拆卸装饰卡扣配件", "可爱", "6");
            DBSp.add(DDXPJ);

            AppUtils.setFirstTimeLaunch(false);

        }
    }
}
